import { ModuleWithProviders }  from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { LayoutComponent } from '../layout/layout.component';
import { BrandComponent } from './brand.component';

const brandRoutes: Routes = [
	{
		path: 'admin',
		component: LayoutComponent,
		children:[
			{
				path: 'brand',
				component: BrandComponent
			}
		]
		
	}
];

export const brandRouting: ModuleWithProviders = RouterModule.forChild(brandRoutes);